package com.java.service;

import com.java.entity.PageBean;
import com.java.entity.PsInspectiontaskMain;
import org.springframework.stereotype.Service;

/**
 * @author caiyuan
 * @version 1.0
 * @Date 2020/6/20 12:52 Dream-Seeker
 * @Description
 */
@Service
public interface PsInspectiontaskMainService {
    PageBean<PsInspectiontaskMain> findByPageInspec(Integer currentPage,
                                                    String inspectionTaskCode,
                                                    String lineCode,
                                                    String taskStatusName,
                                                    String issuedByName,
                                                    String issuedTimestart,
                                                    String issuedTimeend);

    PsInspectiontaskMain getInspecById(Integer inspecId);

    Integer addInspection(PsInspectiontaskMain psInspectiontaskMain);

    Integer updatePsInspection(PsInspectiontaskMain psInspectiontaskMain);

    Integer delInspection(Integer inspeId);

    Integer taskStatusInspection(Integer inspeId);

    Integer carriedOutInspection(Integer inspeId);


}
